package com.cino.mapper;


import com.cino.domain.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {

     List<Teacher> getAll();

    void save(Teacher teacher);

    void update(Teacher teacher);

    void delete(Long id);

    Teacher getOne(Long id);

}
